package com.lxy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Enzo Cotter on 2022/9/9.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int uid;
    private String uname;
    private String upassword;
    private int usex;
    private String urealname;//
    private int ustatus;
    private Date uaddTime;//1正常，2 离职

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upassword='" + upassword + '\'' +
                ", usex=" + usex +
                ", urealname='" + urealname + '\'' +
                ", ustatus=" + ustatus +
                ", uaddTime=" + uaddTime +
                '}';
    }

}















